]> dgit.raspbian.org Git - fontforge.git/commitdiff
Use packaged copy of MathJax from libjs-mathjax
authorAnthony Fok <foka@debian.org>
Sat, 8 Aug 2026 13:14:17 +0000 (15:14 +0200)
committerBastian Germann <bage@debian.org>
Sat, 8 Aug 2026 13:14:17 +0000 (15:14 +0200)
Origin: vendor
Forwarded: not-needed
Last-Update: 2020-11-24

FontForge documentation uses sphinx.ext.mathjax which insert script links
to MathJax served on remote CDNs.

This patch, together with debian/fontforge-doc.links, replaces remote
scripts with MathJax from the libjs-mathjax package.
See https://bugs.debian.org/739300 for discussion.

Fixes Lintian privacy-breach-generic warnings.
Last-Update: 2020-11-24
Gbp-Pq: Name 0003-use-local-libjs-mathjax.patch

doc/sphinx/conf.py

index 72716fcfd97c39a017eacb9b7cbd7921712c5bb6..2d98787a23858f9b7359d58639c2a31efd4c20f3 100644 (file)
@@ -71,6 +71,8 @@ html_extra_path = ['olddocs']
 # Don't copy source rst files into the output
 html_copy_source = False
 
+mathjax_path = 'mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # Set the main page
 master_doc = 'index'